﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MapleLeaf.IdentityServer.Models {
    public class InitDataModel {
        /// <summary>
        /// 首页信息
        /// </summary>
        public HomeInfo homeInfo { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public LogoInfo logoInfo { set; get; }
        /// <summary>
        /// 菜单信息
        /// </summary>
        public List<MenuInfo> menuInfo { set; get; }
    }
    /// <summary>
    /// 首页信息
    /// </summary>
    public class HomeInfo {
        /// <summary>
        /// 标题
        /// </summary>
        public string title { set; get; }
        /// <summary>
        /// 地址
        /// </summary>
        public string href { set; get; }
    }
    /// <summary>
    /// 
    /// </summary>
    public class LogoInfo {
        /// <summary>
        /// 标题
        /// </summary>
        public string title { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string image { set; get; }
        /// <summary>
        /// 地址
        /// </summary>
        public string href { set; get; }
    }
    /// <summary>
    /// 菜单信息
    /// </summary>
    public class MenuInfo {
        /// <summary>
        /// 标题
        /// </summary>
        public string title { set; get; }
        /// <summary>
        /// 图标
        /// </summary>
        public string icon { set; get; }
        /// <summary>
        /// 地址
        /// </summary>
        public string href { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public string target { set; get; }
        /// <summary>
        /// 下级菜单
        /// </summary>
        public List<MenuInfo> child { set; get; }
    }


}
